﻿using System.Collections.Generic;
using System.IO;

using Utilities.IO;

namespace Utilities.Media.Containers
{
    public abstract class StreamContainer
    {
        public DataStream BaseStream { get; protected set; }
        public List<Stream> Streams { get; protected set; }

        public StreamContainer(Stream stream)
        {
            if (stream is DataStream)
                BaseStream = stream as DataStream;
            else
                BaseStream = new DataStream(stream);
            Streams = new List<Stream>();
        }
    }
}
